package com.jkoss.wine.system.entity;

import java.io.Serializable;
import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * 员工
 * 
 * @Author Jason
 * @Version 1.0, 2018-11-20
 * @See
 * @Since com.jkoss.wine.system.entity
 * @Description: TODO
 */
@TableName("merchant_employees")
public class MerchantEmployees extends Model<MerchantEmployees> {

	private static final long serialVersionUID = 1L;

	@TableId("employee_id")
	private String employeeId;
	@TableField("employee_name")
	@Excel(name = "员工真实姓名")
	private String employeeName;
	@TableField("employee_sex")
	@Excel(name = "sex", replace = {"男_1","女_0"})
	private Integer employeeSex;
	@TableField("employee_phone")
	@Excel(name = "电话")
	private String employeePhone;
	@TableField("employee_birthday")
	@Excel(name = "生日" ,format="yyyy-MM-dd")
	private Date employeeBirthday;
	/**
	 * 员工状态 0正常 1停用
	 */
	@TableField("employee_state")
	@Excel(name = "员工状态",replace = {"正常_0","停用_1"})
	private Integer employeeState;
	@TableField("employee_portrait")
	private String employeePortrait;
	@TableField("add_time")
	private Date addTime;
	@TableField("operator")
	private String operator;
	@TableField("del")
	private Integer del;
	/**
	 * 密码
	 */
	@TableField("account_pwd")
	private String accountPwd;
	/**
	 * 账号
	 */
	@TableField("account_num")
	@Excel(name = "账号")
	private String accountNum;
	/**
	 * 部门id
	 */
	@TableField("dmid")
	private String dmid;
	/**
	 * 身份证号
	 */
	@TableField("idcd")
	@Excel(name = "身份证号")
	private String idcd;
	/**
	 * 门禁号
	 */
	@TableField("asct")
	@Excel(name = "门禁号")
	private String asct;
	/**
	 * 户口地址
	 */
	@TableField("rdpa")
	private String rdpa;
	/**
	 * 现住地址
	 */
	@TableField("pspa")
	private String pspa;

	public String getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}

	public String getEmployeeName() {
		return employeeName;
	}

	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
	}

	public Integer getEmployeeSex() {
		return employeeSex;
	}

	public void setEmployeeSex(Integer employeeSex) {
		this.employeeSex = employeeSex;
	}

	public String getEmployeePhone() {
		return employeePhone;
	}

	public void setEmployeePhone(String employeePhone) {
		this.employeePhone = employeePhone;
	}

	public Date getEmployeeBirthday() {
		return employeeBirthday;
	}

	public void setEmployeeBirthday(Date employeeBirthday) {
		this.employeeBirthday = employeeBirthday;
	}

	public Integer getEmployeeState() {
		return employeeState;
	}

	public void setEmployeeState(Integer employeeState) {
		this.employeeState = employeeState;
	}

	public String getEmployeePortrait() {
		return employeePortrait;
	}

	public void setEmployeePortrait(String employeePortrait) {
		this.employeePortrait = employeePortrait;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	public String getAccountPwd() {
		return accountPwd;
	}

	public void setAccountPwd(String accountPwd) {
		this.accountPwd = accountPwd;
	}

	public String getAccountNum() {
		return accountNum;
	}

	public void setAccountNum(String accountNum) {
		this.accountNum = accountNum;
	}

	public String getDmid() {
		return dmid;
	}

	public void setDmid(String dmid) {
		this.dmid = dmid;
	}

	public String getIdcd() {
		return idcd;
	}

	public void setIdcd(String idcd) {
		this.idcd = idcd;
	}

	public String getAsct() {
		return asct;
	}

	public void setAsct(String asct) {
		this.asct = asct;
	}

	public String getRdpa() {
		return rdpa;
	}

	public void setRdpa(String rdpa) {
		this.rdpa = rdpa;
	}

	public String getPspa() {
		return pspa;
	}

	public void setPspa(String pspa) {
		this.pspa = pspa;
	}

	@Override
	protected Serializable pkVal() {
		return this.employeeId;
	}

	@Override
	public String toString() {
		return "MerchantEmployees{" + ", employeeId=" + employeeId + ", employeeName=" + employeeName + ", employeeSex=" + employeeSex + ", employeePhone=" + employeePhone + ", employeeBirthday=" + employeeBirthday + ", employeeState=" + employeeState + ", employeePortrait=" + employeePortrait + ", addTime=" + addTime + ", operator=" + operator + ", del=" + del + ", accountPwd=" + accountPwd + ", accountNum=" + accountNum + ", dmid=" + dmid + ", idcd=" + idcd + ", asct=" + asct + ", rdpa=" + rdpa + ", pspa=" + pspa + "}";
	}
}
